#include<stdio.h>
int main()
{
	int cock,hen,chick,sum=100;
	for(cock=0;cock<=20;cock++)
	{
		for(hen=0;hen<=33;hen++)
		{
		
		    chick=100-hen-cock;
	        if(5*cock+3*hen+chick/3==100&&chick%3==0)
	        printf("cock=%d hen=%d chick=%d",cock,hen,chick);
	   }
			
		
		
		
		
		
		
	} 
	
	
	
	
	
	
	
} 
